<?php
/**
 * Mcm Model for Mcm Component
 * 
 * @package    Mcm
 * @subpackage com_mcm
 * @license  GNU/GPL v2
 *
 * Created with Marco's Component Creator for Joomla! 1.5
 * http://www.mmleoni.net/joomla-component-builder
 *
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

/**
 * Mcm Table
 *
 * @package    Joomla.Components
 * @subpackage 	Mcm
 */
class TableHuhudangtinmoigioi extends JTable{
	/** jcb code */
	/**
	 * Primary Key
	 *
	 * @var int
	 */
	var $id = null;
	/**
	 *
	 * @var string
	 */
	var $provices_id = null;
	/**
	 *
	 * @var string
	 */
	var $estatetype_id = null;
	/**
	 *
	 * @var float
	 */
	var $min_price = 0;
	/**
	 *
	 * @var float
	 */
	var $max_price = 0;
	/**
	 *
	 * @var string
	 */
	var $fullname_poster = null;
	/**
	 *
	 * @var string
	 */
	var $phone_poster = null;
	/**
	 *
	 * @var string
	 */
	var $email_poster = null;
	/**
	 *
	 * @var int
	 */
	var $status = 0;
	/**
	 *
	 * @var string
	 */
	var $note = null;
	/** jcb code */

	/**
	 * Constructor
	 *
	 * @param object Database connector object
	 */
	function TableHuhudangtinmoigioi(& $db){
		parent::__construct('#__huhu_dangtinmoigioi', 'id', $db);
	}
	
	function check(){
		// write here data validation code
		return parent::check();
	}
}